package cn.edu.njpi.service.impl;

import cn.edu.njpi.mapper.TPermssionMapper;
import cn.edu.njpi.model.TPermssion;
import cn.edu.njpi.service.TPermssionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 朱宗辉
 * @version V1.0
 * @Package cn.edu.njpi.service.impl
 * @date 2022/4/20 上午1:04
 */
@Service
public class TPermssionServiceImpl implements TPermssionService {
    @Autowired
    private TPermssionMapper tPermssionMapper;

    @Override
    public List<TPermssion> getAllPermssion() {
        return tPermssionMapper.getAllPermssion();
    }
}
